﻿using System;

namespace YWM.Communication
{
    /// <summary>
    /// ModBus属性特性
    /// </summary>

    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public class ModelPropertyAttribute : Attribute
    {
        public ModelPropertyAttribute(int startIndex)
        {
            StartIndex = startIndex;
        }
      
        public int StartIndex { get; set; }
    }
}
